package com.xianyun.book.dto;

import com.alibaba.cola.extension.BizScenario;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author ytt
 */
@Data
public class UserRegisterCmd extends CommonCommand implements Serializable {
    private static final long serialVersionUID = 1L;

    /**用户名称*/
    private String userName;

    /** 手机号 */
    @NotNull(message = "注册手机号不能为空")
    private String mobile;

    /**校验码*/
    @NotNull(message = "注册校验码不能为空")
    private String validCode;

    /**三方账号ID*/
    private String socialId;

    /** 密码 */
    private String password;

    /**用例场景*/
    @NotNull(message = "用例场景不能为空")
    private String scenario;

    @NotNull(message = "业务线不能为空")
    private String bizId;

    private BizScenario bizScenario;
}
